package dietmar.tablice;
import java.awt.BorderLayout;
import java.awt.EventQueue;

import javax.swing.JFrame;
import javax.swing.JPanel;
import javax.swing.border.EmptyBorder;
import javax.swing.JTextField;
import javax.swing.SwingConstants;
import java.awt.Dimension;
import java.awt.Font;


public class Brak extends JFrame {

	private JPanel contentPane;
	private JTextField txtBrakoCiPiwa;
	private JTextField txtLeDoSklepu;

	
	public Brak() {
		setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
		setBounds(100, 100, 450, 300);
		contentPane = new JPanel();
		contentPane.setBorder(new EmptyBorder(5, 5, 5, 5));
		setContentPane(contentPane);
		contentPane.setLayout(null);
		
		txtBrakoCiPiwa = new JTextField();
		txtBrakoCiPiwa.setFont(new Font("Tahoma", Font.PLAIN, 20));
		txtBrakoCiPiwa.setPreferredSize(new Dimension(10, 24));
		txtBrakoCiPiwa.setEditable(false);
		txtBrakoCiPiwa.setHorizontalAlignment(SwingConstants.CENTER);
		txtBrakoCiPiwa.setText("BRAK\u0141O CI PIWA!!!");
		txtBrakoCiPiwa.setBounds(62, 33, 338, 75);
		contentPane.add(txtBrakoCiPiwa);
		txtBrakoCiPiwa.setColumns(10);
		
		txtLeDoSklepu = new JTextField();
		txtLeDoSklepu.setEditable(false);
		txtLeDoSklepu.setText("Le\u0107 do sklepu po nowe");
		txtLeDoSklepu.setHorizontalAlignment(SwingConstants.CENTER);
		txtLeDoSklepu.setBounds(120, 155, 232, 39);
		contentPane.add(txtLeDoSklepu);
		txtLeDoSklepu.setColumns(10);
	}
}
